package com.atguigu.dao;

import com.atguigu.pojo.ProjectModule;

import java.util.List;

public interface ProjectModuleDao {
    public int addProjectModule(ProjectModule projectModule);//保存模块信息
    public int updateProjectModule(ProjectModule projectModule);
    public int deleteProjectModuleById(String id);
    public ProjectModule queryProjectModuleByName(String name);//根据模块名查询项目信息
    public ProjectModule queryProjectModuleById(String id);
    public List<ProjectModule> queryProjectModules();
    public List<ProjectModule> queryProjectModulesByProjectId(String projectId);
    public List<ProjectModule> queryProjectModulesByProjectModuleTypeId(String projectModuleTypeId);

    public List<ProjectModule> queryProjectModulesByProjectIdAndProjectModuleTypeId(String projectId,String projectModuleTypeId);

}
